package com.business.system.bean;

import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author: xudy
 * @date: 2018/04/07 16:39
 * @description:
 */
@Table(name = "GOODS_STORE")
public class GoodsStoreBean extends ModelBean {
	@Column(pk = true, name = "ID", type = Type.定长文本, description = "编号", canNull = false, size = 32, policy = "UUID")
	private String id;

	@Column(name = "GOODS_ID", type = Type.变长文本, description = "商品id", size = 32)
	private String goodsId;

	@Column(name = "STOCK_COUNT", type = Type.数字整型, description = "库存", size = 11)
	private int stockCount;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public int getStockCount() {
		return stockCount;
	}

	public void setStockCount(int stockCount) {
		this.stockCount = stockCount;
	}
}